package com.wd.service.impl;

import com.wd.dao.CollectionDao;
import com.wd.dao.impl.CollectionDaoImpl;
import com.wd.service.CollectionService;

public class CollectionServiceImpl implements CollectionService {
    CollectionDao collectionDao = new CollectionDaoImpl();
    @Override
    public void like(String username, int blogid) throws Exception {
        collectionDao.like(username,blogid);
    }

    @Override
    public void delCollectionByBlogId(int blogid) throws Exception {
        collectionDao.delCollectionByBlogId(blogid);
    }
}
